#ifndef USER_H
#define USER_H

#define ADMIN_USERNAME "admin"
#define ADMIN_PASSWORD "admin123"

typedef struct {
    char username[50];
    char password[50];
} User;

int add_user(const char *username, const char *password);
int user_exists(const char *username);
int validate_user(const char *username, const char *password);
int is_admin(const char *username, const char *password);

#endif